<template>
	<view class="notice_module_container">
		<view class="notice_module_box">
			<view class="notice_box">
				<view class="notice_left_box">
					<image src="/static/home/icon-notice.png" mode="" class="notice_left_img"></image>
				</view>
				<view class="notice_right_box">
					<view class="right_title">
						公告：
					</view>
					<view class="" style="width: 100%;">
						<swiper circular :indicator-dots="false" :autoplay="true" :interval='2000' :vertical="true"
							style="height: 60rpx;">
							<swiper-item v-for="(item,i) in missionNoticeList" class="notice_swiper_box">
								<view class="notice_swiper_title">{{item.title}}</view>
							</swiper-item>
						</swiper>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: ['missionNoticeList'],
		data() {
			return {

			}
		}
	}
</script>

<style lang="scss" scoped>
	.notice_module_container {

		.notice_module_box {
			
			.notice_box {
				display: flex;
				align-items: flex-start;
				width: 100%;
				height: 63rpx;
				background: #FFFFFF;
				border-radius: 14rpx;
				margin: 0 10rpx;
				padding-top: 16rpx;

				.notice_left_box {
					width: 48rpx;
					height: 40rpx;
					margin-left: 19rpx;

					.notice_left_img {
						width: 100%;
						height: 100%;
					}
				}

				.notice_right_box {
					display: flex;
					align-items: flex-start;
					width: 100%;
					padding-left: 10rpx;

					.right_title {
						width: 100rpx;
						font-size: 26rpx;
						font-family: Source Han Sans CN;
						font-weight: 400;
						color: #262626;
					}

					.notice_swiper_box {
						width: 100%;

						.notice_swiper_title {
							font-size: 24rpx;
							font-family: Source Han Sans CN;
							font-weight: 400;
							color: #595959;
						}
					}

				}
			}
		}
	}
</style>